const userModel = require('../model/user')

exports.getUserName = async (req, res, next)=>{
  try {
    //处理请求
    res.send('get /profiles/:username')
  }catch (err){
    next(err)
  }
}

exports.followUser = async (req, res, next)=>{
  try {
    //处理请求
    res.send('post /profiles/:username/follow')
  }catch (err){
    next(err)
  }
}

exports.cancelFollowUser = async (req, res, next)=>{
  try {
    //处理请求
    res.send('delete /profiles/:username')
  }catch (err){
    next(err)
  }
}